package com.yuyou.tas.feedback.service;

import com.yuyou.tas.service.api.feedback.dto.FeedbackDetailDTO;
import com.yuyou.tas.service.api.feedback.dto.FeedbackSituationMoreVo;
import com.yuyou.tas.service.api.feedback.entity.FeedbackSituation;

import java.util.List;


public interface IFeedbackSituationService {
    int deleteByPrimaryKey(Long id);

    int insert(FeedbackSituation record);

    FeedbackSituation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FeedbackSituation record);

    void delByFeedId(Long feedbackId);

    /**
     * 获取反馈的全部情况
     * @param feedbackId
     * @return
     */
    FeedbackDetailDTO findSituationByFeedbackId(Long feedbackId);

    /**
     * 获取班级反馈全部学生的学习情况
     * @param feedbackClassId
     * @return
     */
    List<FeedbackSituationMoreVo> findByFeedbackClassId(Long feedbackClassId);

    /**
     * 获取需要处理的资源
     * 微信图片、音频->七牛云
     * @return
     */
    List<FeedbackSituation> findAllNeedOperate();


}